-
-
Notifications
You must be signed in to change notification settings - Fork 9
fix: new fumadocs stuff and md files for ai #606
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the website to support new fumadocs features and implements AI-friendly endpoints for LLM interactions. The changes primarily focus on modernizing the documentation framework and adding functionality for AI model consumption of the documentation content.
- Updated fumadocs packages to newer versions with enhanced MDX processing capabilities
- Added LLM-friendly endpoints that serve markdown content for AI consumption
- Removed duplicate heading elements from MDX files to improve content formatting
Reviewed Changes
Copilot reviewed 22 out of 25 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| scripts/generateDocs.mjs | Removes duplicate headings from generated documentation files |
| packages/tagscript-plugin-discord/package.json | Updates discord.js dependency version |
| apps/website/source.config.ts | Enables processed markdown inclusion for AI consumption |
| apps/website/package.json | Updates fumadocs packages and adds utility dependencies |
| apps/website/next.config.js | Adds routing for LLM endpoints and legacy path redirects |
| apps/website/mdx-components.tsx | Centralizes MDX component configuration |
| apps/website/lib/get-llm-text.ts | Implements LLM text formatting utility |
| apps/website/lib/cn.ts | Adds className utility function |
| Multiple .mdx files | Removes duplicate heading elements |
| apps/website/components/ui/button.tsx | Adds reusable button component variants |
| apps/website/components/page-actions.tsx | Implements LLM copy and view options functionality |
| apps/website/cli.json | Adds fumadocs CLI configuration |
| Multiple route files | Implements LLM-friendly API endpoints |
| apps/website/app/layout.tsx | Updates source import path and viewport configuration |
| apps/website/app/api/search/route.ts | Updates source import path |
| apps/website/app/[[...slugs]]/page.tsx | Refactors page component with new actions and metadata |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is being reviewed by Cursor Bugbot
Details
You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
| '---', | ||
| '', | ||
| newContent | ||
| newContent.replace(new RegExp(`^# ${fileHeading}`), '') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please describe the changes this PR makes and why it should be merged:
Status and versioning classification: